home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16839 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  862 b 

  1. Path: news.widomaker.com!usenet
  2. From: alas@p-o.widomaker.com ( )
  3. Newsgroups: comp.lang.c++
  4. Subject: function pointers and how to (ab)use them
  5. Date: 12 Apr 1996 01:45:24 GMT
  6. Organization: Widomaker Communication Services
  7. Message-ID: <4kkcjk$3om@news2.widomaker.com>
  8. Reply-To: alas@widomaker.com
  9. NNTP-Posting-Host: pm1-19.wmbg.widomaker.com
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.93.14
  12.  
  13. I am a hobbist programer who like to play with code...my latest 
  14. inspiration is self-modifing code and user (at run time) written code.
  15. Function pointers seem to give me this ability, but I am not sure about 
  16. certain things.  First: can I typecast an array of integers as a 
  17. function?  Second: can I treat a function pointer as an array? And 
  18. lastly: how can I save the changes made to an .exe file through this sort 
  19. of manipulation?   Please email me at alas@widomaker.com
  20.  
  21.